package cn.wk.client;

import cn.wk.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value = "SYSTEM-SERVICE",fallbackFactory = UserContextFactory.class)
public interface UserContextClient  {

    @GetMapping("/employee/selectLogin/{loginId}")
    AjaxResult selectLogin(@PathVariable("loginId") Long loginId);
}
